package cn.bandeqing.wechatminiapp.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class OrderListReq implements Serializable {

    @NotNull
    private Integer page;

    @NotNull
    private Integer size;

    @Schema(description = "订单状态")
    private Integer orderStatus;

    @Schema(description = "yyyy-MM-dd")
    private String date;

    // 0=订单列表 1=日历页面
    @NotNull
    @Schema(description = "0=订单列表 1=日历页面")
    private Integer type;

}
